import { Router } from 'express';
import { NewsController } from '../project/controller/news.controller';

const newsRouter = Router();
const newsController = new NewsController();

newsRouter.get('/:id', newsController.getNews);

export default newsRouter;